﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace AdminCP.Areas.Demo.Controllers
{
    public class DemoController : Controller
    {
        //
        // GET: /Demo/Home/

        public ActionResult Index()
        {
            return View();
        }

        public ActionResult JsonDemo()
        {
            var obj = new { id = "1" };
            return Json(obj, JsonRequestBehavior.AllowGet);
        }

    }
}
